
import { createApp } from 'vue'
import { createPinia } from 'pinia'
// 引入normalize.css
import 'normalize.css/normalize.css'
import '@/assets/main.css'

import App from './App.vue'
import router from './router'
//引入图片懒加载插件
import Lazyload from "vue3-lazyload";
const app = createApp(App)

app.use(createPinia())
app.use(Lazyload, {
  error: '@/assets/loading.gif',
  // 图片加载失败时使用的图片
  loading: '@/assets/loading.gif',
})
app.use(router)

app.mount('#app')
